Class symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction
Object
|
+----symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction
- public class MultiplicationFunction
- extends Object
- implements Calculation
Business rule function which returns a new value by multiplying
the columns in the row
- Version:
- 1.0 06/18/98
- Author:
- Puru Balakrishnan
-
NAME
-
-
symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction()
-
-
getComputedValue(DerivationRow, int)
-
return the computed value from the passed in input Row.
-
getDisplayString()
- Method to return a String which would
be used for displaying method information to the user
Example: For a class which calculates the sum of three columns
using a description like "sum( ?,?,? )" would be appropriate.
-
isUsedForAggregate()
- Method to determine if this can be used for aggregate calculations
NAME
public static final java.lang.String NAME
MultiplicationFunction
public MultiplicationFunction()
getComputedValue
public java.lang.Object getComputedValue(DerivationRow inputRow,
int outputDataType)
-
return the computed value from the passed in input Row.
The first parameter ,ComputeRow, is a grouping of columns which
are to be used for calculating the new derived value.
These columns could represent constant as well as real database columns.
- Parameters:
- inputRow - row of input columns
- outputDataType - datatype for desired output as in java.sql.Types
- Returns:
- Object representing the new computed value
- See Also:
- ComputeRow, CompColMember
getDisplayString
public java.lang.String getDisplayString()
- Method to return a String which would
be used for displaying method information to the user
Example: For a class which calculates the sum of three columns
using a description like "sum( ?,?,? )" would be appropriate.
- Returns:
- String
isUsedForAggregate
public boolean isUsedForAggregate()
- Method to determine if this can be used for aggregate calculations
- Returns:
- true or false
All Packages Class Hierarchy This Package Previous Next Index